package com.gai.adivce;

import org.springframework.aop.ThrowsAdvice;

public class ExceptionAdvice implements ThrowsAdvice {
    public  void afterThrowing(Exception ex){
        System.err.println("出错啦！！！！");
    }
}
